Webcam image capture to file upload using paperclip