Use binary mode for temporary files when using pdf_from_string

Use binary mode for temporary files when using pdf_from_string (#208)
Updated readme for proper pdf_from_string usage (also related to #208)