perf_counter: tools: Better handle existing data files