If a file compiles with errors, stop compiling and return the error to grunt.

Without this patch, the resulting JS file is empty and you aren't warned of any errors.