qemu.py: raise NotCountedError when data is not available
perforator.py: massive clean-ups and support for auto output file naming