iowatcher: Fix processing of trace filenames containing spaces