wrap copyfile in try/except
Merge pull request #1 from mscweb/try-except

wrap copyfile in try/except