- atomic writes (write to new file, rename) to avoid some edge cases
at OOM when File.open truncates but still fails and ends up with an
empty file.
Merge pull request #1 from bwmeier/edwinf-patch

Only include the winhelper.rb file if we are running on windows...
Merge pull request #22 from edwinf/useJavatoOpenFile

Use java.nio to open files with file_share_delete permissions