Adjusted file-saving code
Switched to use of external storage for downloaded apks