[tools] testbot/PatchUtils: Escape dots in regular expressions.