Fixing debug output for lock acquisition.
Removing dup2 call since the blahp doesn't like closing stderr
Merge pull request #3 from osg-bosco/v1_18_bosco_fromderek

pbs_status.py debug fixes