__builtin__ became builtins in python3

Python3 compatibility.
Please update the pull request to use a `try` / `except` block instead rather then the explicit check of the version number. So instead of line 33 do something like:

    try:
        import builtins
    except ImportError:
        import __builtin__ as builtins