Add default nil value for file argument

This function is called from `lib/jshintrb.rb` as `report = reporter.format errors` with no file argument. Since the function does not require the argument, setting a default value of `nil` offers a quick fix.