allow asyncronous compileFile and renderFile operations. Fixes gh-283