paperclip pdf upload works