Bug 926722 - Simplify Scratchpad's writeAsErrorComment. r=robcee