returning 0 on file creation error
Merge branch 'master' of github.com:dkoerner/base