[S] Change in libosmocore[master]: tests/osmo_io: Rework test_file()