Fixed problems with Unicode passed to shell