Set default mode to uploaded configuration files

scp sets permissions to the uploaded tmp file by default to 0400 and PR #26 caused them to be copied to the actual destination. So set the file mode always, defaulting to 0644.