Ensure that a custom reporter is a file

Fixes the case where `mocha-phantomjs` is run from a directory that has a `spec` directory.