Uses the correct file extension for rake tasks