Fix warning the user when copying files failed