Build module namespaces as a hierarchal 'stdio' -> 'std' rather than a singular 'std.stdio'
Split out intrinsic handling in maybe_expand_builtin.