Fix bugs targeted on Linux, add device.py to install list.

Add device.py to package's files list in Makefile.am.
Fix the name of _DEVDISK_RE, was misspelled in non-Darwin code.
Library tempfile isn't used, so stop importing it.