[Android] Remove some useless statements inside `finally' clauses.

This is Python, so there's no need to manually call close() in files most of
the time.