Allow :phantomjs_logger to be a non-FD

It seems inevitable that somebody will try to use StringIO with it, so
may as well make it work.

Also it caused an error with the ci_reporter gem already (#246).

Fixes #246.