[Android] make_apk: Use open(), not file().

The latter does not exist in Python 3, so those functions were broken
when invoked.
Merge pull request #2216 from rakuco/py3-compatibility

[Android] make_apk: Use open(), not file().