fixed a bug in the supervisor task: missing path
added an encode option to take care of non-ascii characters