Fix expanding ~ in default keypaths to ~/.mitmkeys directory