Replace '.' character with '_' in package path mangling

Without this change, LLVM will confuse functions in package paths that begin
with 'llvm.', such as the new location of the LLVM bindings, with intrinsics.