Pdf rendering in paperclip and aws