Fix for using AWS_CREDENTIAL_FILE