Fix issue with 'this' binding in PdfStreamConverter
Use relative paths for ref images and copy refs.
Merge pull request #2940 from brendandahl/ref-fixes

Use relative paths for ref images and copy refs.
Merge pull request #2927 from mduan/fix-this-binding

Fix issue with 'this' binding in PdfStreamConverter