I just thought the plugin system is running in a sandbox which can't access the file I/O.. that is incorrect. I could still use fs / process API. That I could solve it by myself.