added hook to test/lib/stream/transform which removes output file