Configurable mode for new files

bz_create_file now takes in an additional parameter that lets you choose
the mode of the new file.  We need this in the Debian packager, since
the installation scripts need to be executable.
Merge branch 'feature/debdeb' into develop

* feature/debdeb:
  Configurable mode for new files