Try enforcing ASCII-8BIT when uploading the script
Merge branch 'gh-ci-2169' into staging