Remove class variable $F

The filehandle need to be an instance variable to behave correctly (even if
it slightly complicates the demo code).