Fixing testCore output re-direct.
Fixing testCore output re-direct.

OS specific problem (Ubuntu). This works on CentOS, but is a slight change from the original commit provided by Ben.

See here for details:
http://blog.stefan-weigand.de/2008/09/23/syntax-error-bad-fd-number/index.html

Fixes #51

appleseedhq/cortex,lento/cortex,hradec/cortex,lento/cortex,hradec/cortex,goddardl/cortex,goddardl/cortex,appleseedhq/cortex,lento/cortex,hradec/cortex,appleseedhq/cortex,goddardl/cortex