Fix naming for files in degenerate situations

For example, `pliny-generate model Artist` could result in `Artist.rb`
instead of `artists.rb`.
Merge pull request #27 from interagent/brandur-fix-file-naming

Fix naming for files in degenerate situations