FileHandler: Bugfix storing files
- Bug: FileHandler closes before storing all events to the file
- bug see for storing .daq files using the miniDAQ, when recording data with a Sr-90 source at high rates.
- fixed by waiting in the destructor for the queue to be written to the file