pipes: fix export script execution

Signed-off-by: Alberto Corona <alberto@0x1a.us>