Use a file-by-file approach for cp/rm

This should avoid any issues on Windows with extensions.


git-svn-id: http://www.latex-project.org/svnroot/experimental/trunk@4803 de43f980-851b-0410-b2f7-c40aca1f87e0