in pisaFileObject, use isinstance instead of type to detect if uri is a string
in pisaFileObject, use isinstance instead of type to detect if uri is a string

chrisglass/xhtml2pdf,chrisglass/xhtml2pdf,xhtml2pdf/xhtml2pdf,xhtml2pdf/xhtml2pdf