*.log *.trs chomp copyfile dir fexist fisdir fsendfile lfile makepath pidfile progress rsync str tempfile touch tree which