Support for getting PDF files as byte arrays.