ensure compileFile runs callback if cache found. Fixes gh-291