Use "copy" to set file contents, not "file"

The file module doesn't provide this functionality, and as far as I can tell, it never has!
Merge pull request #1 from nickstenning/patch-1

Use "copy" to set file contents, not "file"