extend infinite loops

the central infinite loops in fillmetadata.pz and pack-files.py are now
extended to also contain the loading and parsing of the configuration to
be able to dynamically pick up changes.