Some fixes for zsh, remove some exceptions handling

Those exceptions are now handled and logged at top level, thus no need to handle 
them in segment.

Ref #330, it is now fixed for zsh/zpython

Note: do not use zsh/zpython + python3, it does not work properly, even though 
this changeset contains fixes for it as well