Upgraded the script for python 2.6x or superior compatibility

I found that the conversion to python 3 wasn't working for byte conversion issue, so I just tweaked the script to avoid the conversion via the 2to3 tool, the only issue is that now it requires python superior to 2.6 but I think is worth to have only a version to maintain.