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.