decodetree: Open files with encoding='utf-8'