Coerce class to string for comparison

Fixes ctran/annotate_models#173, by ensuring that the model is coerced to a string before it's run through `ActiveSupport::Inflector.underscore`, which then correctly compares to the filename (which is a string already).