Truncate file on File.open(file, "w")
Merge branch 'master' of https://github.com/iij/mruby-io
Merge pull request #4 from pbosetti/master

Truncate the file to zero length on opening when "w" mode is set