Ensure file exists before copying
Fix