Remove files on error