Fix naming for files in degenerate situations

For example, `pliny-generate model Artist` could result in `Artist.rb`
instead of `artists.rb`.

We probably need better regression testing on this stuff too.

Fixes #25.