Make sure all of the AWS environment variables are set. This means, in addition to AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY and AWS_REGION, you must also set LANG and LC_ALL.
The system apparently supports only the C.UTF-8 locale, so set them accordingly:
LC_ALL=C.UTF-8
LANG=C.UTF-8