test: Trim cat output for windows