Upon closer scrutiny, and comparison with a reinstall of 6.0.2 it turns out the script is indeed overwriting the old avatar with the new avatar. It seems to be a browser caching issue instead. When editbasic/changebasic sends you back to the MyHome screen, the old picture still posts. But upon a forced refresh of the browser, the new picture takes its place.

Thanks for your time.