Compiler: generate files with default permissions.

Fixes #182.
Merge pull request #183 from dbuenzli/master

Compiler: generate files with default permissions.