276bef1 krainstance: fix writing str to file

1 file Authored by stlaz 2 years ago , Committed by pvomacka 2 years ago ,
    krainstance: fix writing str to file
    
    https://pagure.io/freeipa/issue/4985
    
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>