fix: IO.read sets offset to nil, if offset was given as argument