File mode fixes (to 0600). This should probably be configurable.