Tweak to avoid NERDTree encoding issues