adding python 2.6 support

the syscall was 2.7+ compatible,
needs to also support 2.6.

this fix should now be backwards compatible
to earlier versions