files with . in name work, relative paths
using extension var in ensureExtension function
Merge pull request #1 from mmacaula/rjs-build-relative

ensure extension bugfix, relative paths support