add basename() and dirname()
'lib.hardware.vfio' should be a direct replacement for 'lib.hardware.pci',
except for a few extra methods that will be used for reassiging devices