metadata: use print() in PackageFormatter doctest for Python 3 compatibility