Python script to deal with AWS S3 files using boto