React component that renders an <input type="file"/> and automatically uploads to an S3 bucket