Fix copying files that don't exist