35e135c py3: session: fix r/w ccache data

Authored and Committed by mbasti 2 years ago
    py3: session: fix r/w ccache data
    
    ccache contains binary data, so it should be read and write in binary
    mode
    
    https://fedorahosted.org/freeipa/ticket/4985
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+5 -6