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