Resolve issue with IO since Android doesn't handle it like I expected.