Move customStream back to streamdec.cpp