[PATCH 06/22] buildman: Add a test helper for creating a line prefix