we write the buffer to a temp file and then rename it, don't neglect to set the new file's modes properly.
Attach a file by drag & drop or click to upload