print() on closed filehandle