Minor copy-paste error in worker.py
I just stumbled across this:

https://github.com/BD2KGenomics/toil/blob/5ec9a2cd1fb081bd59a93a7aa0023d19cab6750b/src/toil/worker.py#L496

``` python
    #Close redirected stderr and replace with the original standard error.
    os.dup2(origStdOut, 2)
```

That should read `os.dup2(origStdErr, 2)` if you want to actually restore the original stderr to fd 2. I can't think of a way that this would ever cause a problem, though.

diff --git a/src/toil/worker.py b/src/toil/worker.py
index ddcfbfd5..9cc3f37b 100644
--- a/src/toil/worker.py
+++ b/src/toil/worker.py
@@ -493,7 +493,7 @@ def main():
     os.dup2(origStdOut, 1)
     
     #Close redirected stderr and replace with the original standard error.
-    os.dup2(origStdOut, 2)
+    os.dup2(origStdErr, 2)
     
     #sys.stdout and sys.stderr don't need to be modified at all. We don't need
     #to call redirectLoggerStreamHandlers since they still log to sys.stderr
['src/toil/worker.py']