'copy' write new line at end of file if 'content' passed without newline...

Fixes #7855. Checked it by using hacking/env-setup and creating a temporary file with ad-hoc ansible.