Moved all of the IO related code in androidutils into its own unit.