Ensure migrations are created with `.rb` extension

Since rails/rails#13612 the generator won't always add the `.rb`
extension when creating migrations with the `migration_template`
method.

[fixes #158]