Update comment for hardcoded AWS metadata API
Fix coding style errors in lib/s3.py