fix throws error #6 and bump to v0.4.2
fix throws error #6 and bump to v0.4.2

jeroencoumans/electron-pdf,codecounselor/electron-pdf,fraserxu/electron-pdf,codecounselor/electron-pdf,fraserxu/electron-pdf,jeroencoumans/electron-pdf