Hack FileUtils to provide copycontents methods.