Fix the btest-rst-pipe script