Call dcpomatic_setup_path_encoding() early enough (#2665).