Misc fixes, escaping paths, rsync commands, etc.