Skip an error with removing directories.