pkgfile: setup locale to whatever the default is

Assuming that the user has a UTF-8 locale for their session, this
allows retarded version strings, like 2.0.0.α.r10.g0c974ae-1.