Fix copying files when source is relative to destination.