A bit of code to take pictures with a Raspberry Pi camera and upload them to S3