Changed output from Writer to OutputStream to allow for binary output. Added compression filters for PDF renderer.