Fix/workaround the two issues that cause files to be written with
formatting that Excel for Mac 2011 cannot open:
- nil check to avoid @noteObject exception
- don't write optional margin (i.e. LEFTMARGIN, etc.) records