File.truncate should not move write pointer
Merge pull request #473 from atambo/file_truncate

File.truncate should not move write pointer