Added writer classes
Missing sys import
Fixed unicode data not written to files properly.
Catch export specific name error only
Added, can be removed later in a different PR.
base64 encode PDF before writing back to the nb structure