Adding file_dict() to rpm, to match deb and pacman functionality

Mostly for completeness.