Fix process module file writing with noclobber set.