Add Python 2.4 support to modprobe module