Fix travis as /dev/shm does not seem to exist anymore.
Made setupegg.py Python 3 compatible