fixed rm tempDir after rsync a watching file