fix for different math.round behaviour in py3k
another fix for string-slash-decoding in py3k