This is to avoid the usage of the now optional `ls` command, and stay compatible with go-multistream. Closes #2925