fixed paperclip file type handling for pdf