Remote test: Also copy permissions when uploading single files
Remote test: Fix the remote test folder clean up