Improved warning printing for file copy.