fix generate file name for streams with namespaces