Don’t fail if the container already has a .ssh dir

The folder is already there because of previous init commands. There
might also be an authorized_keys file as well.
Fix copy_file and copy_template when the second arg is a folder