Added check for change_size failure in write.
Merge branch 'master' of ssh://github.com/m-vojvodic/lab3