Write files in an atomic fashion w/configurable ownership
github.com/npm/write-file-atomic
npm/write-file-atomic