Namespaces EOFError appropriately