fix assemble to not pass extra args to copy/file
fix assemble to not pass extra args to copy/file

also small refactor to dedupe code
fixes https://github.com/ansible/ansible-modules-core/issues/3154

thaim/ansible,thaim/ansible