Fix path bug in windows, don't emit code altogether if we have already seen
errors.

Review URL: https://chromiumcodereview.appspot.com//12474009