perf tools: Pass build_id object to filename__read_build_id()