Modified grader.js to use a buffer instead of writing to a temp file.