t6050-replace: don't disable stdin for the whole test script