fixed unreachable code surrounding 'unix://' addresses.
remove ctypes dependency for unsigned integer math related to setgid. this should re-enable selinux usage (and usage on other systems without ctypes).