Actually fail the surrounding jake task on errors in compileFile()

Will cause builds to actually fail now. See #1459

fail() already prints to console so a separate print isn't needed.