Use mkpath() if ~/.local/share/ktorrent/ doesn't exist
To avoid problems at launch if whole ~/.local/ folder was removed
Based on discussion at libktorrent!27 (closed)
In particular, on solution suggested at libktorrent!27 (comment 147800)
Edited by Alexander Trufanov