Fix extracting streams (use raw-text encoding)