The main use case for this function is to create qrexec services in VMs. Since qrexec now require service scripts to be executable, make create_remote_file() adjust permissions.