genfio: Don't use cat EOF for small prints

That's just bother the reading when very few data is involved. A simple
print is enough