s3: Try to use environment variables if s3.{key,bucket} are undefined