add PID to logs of pull-to-hdfs.sh