[fix] Make `env__cat` copy strings properly