Using common.resource_filename broke plugins so need to find a better solution for non-ascii dirs. This reverts commit bdb3b509adf5915efa938be3871e65ee8a817093.