[ent] Allocate model on the stack.
[shell] Make it unambiguous we're using util::chdir