pbs_status.py debug fixes

This pull request includes 2 changes:
* Fixing debug output for lock acquisition. 3f1bea0df2d9758b29481ad5e090bf50258a63bd
* Removing the dup2 call since the blahp does not like the closing of the stderr file handle.  2bc743ebb5a6c327c07c5db97b0b2a483129d602