Don't write files on error