Fix example on README which didn't run correctly

Canvas was not required. Also allowed the process to exit by halting the
stage once the output file is written.