Add support for stream redirection/restoration.
Add support for stream redirection/restoration.

Sciumo/PDAL,mtCarto/PDAL,mtCarto/PDAL,DougFirErickson/PDAL,lucadelu/PDAL,boundlessgeo/PDAL,radiantbluetechnologies/PDAL,DougFirErickson/PDAL,jwomeara/PDAL,Sciumo/PDAL,jwomeara/PDAL,jwomeara/PDAL,DougFirErickson/PDAL,boundlessgeo/PDAL,Sciumo/PDAL,radiantbluetechnologies/PDAL,mpgerlek/PDAL-old,lucadelu/PDAL,mpgerlek/PDAL-old,mtCarto/PDAL,radiantbluetechnologies/PDAL,Sciumo/PDAL,boundlessgeo/PDAL,mpgerlek/PDAL-old,boundlessgeo/PDAL,mpgerlek/PDAL-old,jwomeara/PDAL,radiantbluetechnologies/PDAL,mtCarto/PDAL,lucadelu/PDAL,lucadelu/PDAL,DougFirErickson/PDAL