render_to_pdf now returns binary data instead of HttpResponce for better inheritance