tests: add output filter to python I/O tests helper