Add file extension to ActiveRecord generator

Fixed #40