Use pkg_resources module to locate data files

This is the preferred way to do it, rather than extrapolating from
the value of '__file__'.