write-config-core task removes core-tmp.js