Intercept access to /dev

If the mock environment has a device node path, use this instead of the real
device.