BUG: io/mmio: fix fromfile compatibility detection