use umask to restrict file permissions
stricter file permissions for new files
Merge pull request #25 from jschlyter/master

use umask to restrict file permissions and apply stricter permissions on new file