Fixed builtin scope in str, file and code builtins