Sanitize filesystem paths before emitting ParserTests.data.

Change-Id: Ic348aa040d3b0e64716a51f5681ef289842118f0