Rescue any SystemCallError from atomic_write