split path handling into own function in iotest/tools.py
Use logging and BrainwareSrcIO cleanups
use EventArray in BrainwareSrcIO