Fix OS X testtar build break

Handle copy in super portable way. Every tar on the planet should
accept this. Oblig XKCD: http://xkcd.com/1168/
Merge pull request #3032 from zmerlynn/testtar

Fix OS X testtar build break