write-file-atomic

Write files in an atomic fashion w/configurable ownership