Use 0777/0666 permissions when creating dirs/files.

Just like openjdk, we now depend on the processes umask (0022, for
instance) to mask that into 0755 or 0666, for instance.

This fixes #57.
Merge pull request #126 from joshuawarner32/master

Use 0777/0666 permissions when creating dirs/files.