Compiler: generate files with default permissions.

Fixes #182.