Multiple changes:

* Use getExternalFilesDir to choose a good external storage directory,
  export it as ANDROID_PUBLIC.
* Export the old external storage directory as ANDROID_OLD_PUBLIC.
* Delete main.pyo when upgrading.