Added option to specify compound file extensions

Fixes sourcemaps file replacement not working #44