Correct filename when copying.