create_indexes should not fail when cannot constantize class [Fix #2758]

rake task db:mongoid:create_indexes should not fail if the name of the
file doest not match the class name.