fcntl ioctl: get device name

Python script for ioctl ops such as EVIOCGNAME.

Obtained from:
    https://gitorious.org/emc-rt-preempt/emc-rt-preempt/source/
            master:lib/python/linux_event.py