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

The latter does not exist in Python 3, so those functions were broken
when invoked.