WriteRoom version to fix crash when printing on macOS 10.12 (2)

I've attached a quick fix for the printing crash that happens on macOS 10.12. I'm going to try to submit this fix to the app store, but I think it's likely to not be accepted because of many old API's that WriteRoom curr…

Jesse, have you seen this program? (4)
WriteRoom requires an update (3)
WriteRoom 4 Update – I don't practice distraction free development (1)
Redownloading version 3 (3)
Autosave (2)
Copying doc into another app (1)
Printing - Shutdown Instead (6)
Block indent (3)
WriteRoom needs to be updated iOS 11 (3)
Typing lag in WriteRoom in Sierra (5)
?False advertising (4)
WriteRoom 4 Development Starts Today! Put in your requests! ( 2 3 ) (40)
Writeroom crashes on print (3)
Using a video as background (2)
Is there any standard for storing metadata for user ordered files? (1)
WriteRoom 4 Settings Feedback (4)
Still working on WriteRoom 4, and a quick question (7)
Long time WR user on IOS, any update? (8)
WriteRoom for iOS lives on as Writemator (3)
Can't scroll to bottom of document in High Sierra (5)
WriteRoom online / integration with Google Drive? (3)
Word count keeps coming back when I open WriteRoom (3)
WriteRoom on HighSierra goofs up cursor (2)
Upgraded to Mac OSX Sierra and now Writeroom no longer works (11)
Mac OS Sierra Supported? (11)
WriteRoom progress and how it effects TaskPaper (16)
Cursor blink? (2)
Aesthetics of writeroom just got all messed up—can't fix (2)
Hello from a newbie...and yet not at all a newbie (2)