Conversions between pipes and conduit