[export8u] revert syscall write tmp local
[metadata] add map<string,string> metadata