COOK-3072 - Made some fixes to the cherry-pick action.

- Changed creates attribute to file.
- Made sure that the final file path was path attribute + basename of file attribute.
- Changed the chowning so that it chowns the file and not the file's parent directory.

Conflicts:

	README.md
	libraries/default.rb
	providers/default.rb
	resources/default.rb