Merge pull request #19 from greboid/master

Fix warning in tests.
Hack FileUtils to provide copycontents methods.