Fix base directory for streams