Use io.open for 2->3 compatibility