Fix failing create_enckey due to python3 changes in open function
Fix failing create_enckey due to python3 changes in open function

privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea