Fix #121: Ensure files are created in 0600 mode