Changed FileStream::readBlock() and writeBlock() to always move the file...

... pointer.

This pull request is NOT intended to be merged. It's just for checking if this can fix the bug reported at #345.