buildsystem: Fix for storePersistentOptions when ~/.local/state doesn't exist
kdesrc-build fails if ~/.local/state/
doesn't exist. This is very confusing, especially for people that try to build KDE for the first time. This change fixes that bug.
Edited by Nate Graham