Enforces karma config tmp extension

If people want to use coffeescript karma configuration, then this
tempfile would be generated with a .coffee#{hash} extension, preventing
karma from correctly detecting the coffeescript file extension.

This commit specifies the tempfile extension and preserves .js/.coffee.