[FIX] proper printing of chars (for ex. from 'tree') for python3