rework fio_open in a better way