Correctly handle "~" in SSLCertFile
Correctly handle "~" in SSLCertFile

This works correctly because only the config writing/reading accesses
CZNC::m_sSSLCertFile directly, everything else goes through this getter.

This ChangeDir() call will also "sanitize" the path. E.g. "/foo//..//home///"
will be turned into "/home/" and stuff like that.

Signed-off-by: Uli Schlachter <346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in>

Mkaysi/znc,KiNgMaR/znc,psychon/znc,jantman/znc,ollie27/znc,Mkaysi/znc,ollie27/znc,elyscape/znc,Hasimir/znc,DarthGandalf/znc,dgw/znc,YourBNC/znc,TingPing/znc,psychon/znc,Hasimir/znc,Hasimir/znc,anthonyryan1/znc,Mkaysi/znc,elyscape/znc,Kriechi/znc,TingPing/znc,znc/znc,Mkaysi/znc,evilnet/znc,Mikaela/znc,trisk/znc,Kriechi/znc,wolfy1339/znc,trisk/znc,jantman/znc,BtbN/znc,jpnurmi/znc,aarondunlap/znc,reedloden/znc,Adam-/znc,jantman/znc,withinsoft/znc,elyscape/znc,badloop/znc,znc/znc,jreese/znc,TuffLuck/znc,Kriechi/nobnc,YourBNC/znc,DarthGandalf/znc,Phansa/znc,Hasimir/znc,markusj/znc,jpnurmi/znc,dgw/znc,jpnurmi/znc,jpnurmi/znc,Mkaysi/znc,jpnurmi/znc,anthonyryan1/znc,KielBNC/znc,KielBNC/znc,Mikaela/znc,jantman/znc,DarthGandalf/znc,aarondunlap/znc,Zarthus/znc,withinsoft/znc,markusj/znc,markusj/znc,Phansa/znc,GLolol/znc,TuffLuck/znc,Zarthus/znc,reedloden/znc,jantman/znc,elyscape/znc,markusj/znc,jreese/znc,aarondunlap/znc,ollie27/znc,anthonyryan1/znc,TuffLuck/znc,trisk/znc,KiNgMaR/znc,badloop/znc,aarondunlap/znc,dgw/znc,withinsoft/znc,wolfy1339/znc,dgw/znc,YourBNC/znc,Adam-/znc,psychon/znc,Zarthus/znc,Phansa/znc,DarthGandalf/znc,KielBNC/znc,Zarthus/znc,kashike/znc,Kriechi/nobnc,Mikaela/znc,elyscape/znc,BtbN/znc,TuffLuck/znc,Kriechi/znc,kashike/znc,KielBNC/znc,wolfy1339/znc,KielBNC/znc,jpnurmi/znc,TuffLuck/znc,Hasimir/znc,Zarthus/znc,ollie27/znc,Phansa/znc,znc/znc,evilnet/znc,wolfy1339/znc,psychon/znc,TingPing/znc,DarthGandalf/znc,Hasimir/znc,anthonyryan1/znc,jreese/znc,withinsoft/znc,dgw/znc,znc/znc,anthonyryan1/znc,TuffLuck/znc,evilnet/znc,badloop/znc,Kriechi/znc,jantman/znc,TingPing/znc,evilnet/znc,aarondunlap/znc,Mikaela/znc,Zarthus/znc,kashike/znc,GLolol/znc,TingPing/znc,YourBNC/znc,Adam-/znc,anthonyryan1/znc,YourBNC/znc,jreese/znc,badloop/znc,elyscape/znc,BtbN/znc,KiNgMaR/znc,znc/znc,psychon/znc,Adam-/znc,GLolol/znc,anthonyryan1/znc,Adam-/znc,withinsoft/znc,reedloden/znc,KiNgMaR/znc,Phansa/znc,aarondunlap/znc,evilnet/znc,Kriechi/znc,Kriechi/nobnc,kashike/znc,znc/znc,wolfy1339/znc,Mikaela/znc,kashike/znc,reedloden/znc,evilnet/znc,trisk/znc,badloop/znc,wolfy1339/znc,GLolol/znc,BtbN/znc,GLolol/znc,jreese/znc,badloop/znc,KiNgMaR/znc,Mikaela/znc,reedloden/znc,TuffLuck/znc,badloop/znc,Kriechi/znc,reedloden/znc,Mkaysi/znc,BtbN/znc,Adam-/znc,Adam-/znc,psychon/znc,ollie27/znc,markusj/znc,jreese/znc,Mkaysi/znc,Phansa/znc,withinsoft/znc,trisk/znc,dgw/znc,YourBNC/znc,kashike/znc,markusj/znc,aarondunlap/znc,KielBNC/znc,trisk/znc,jpnurmi/znc,DarthGandalf/znc,Mikaela/znc,Hasimir/znc,ollie27/znc,KiNgMaR/znc,TingPing/znc,BtbN/znc,GLolol/znc