savecache: clean up creation of cache directory
savecache: clean up creation of cache directory

The cache directory should be created via mkdir -p instead of
mkdir. This makes sure all parent directories are created.

Also, we now display an error message explaining that we were unable to
create the cache directory if creation fails.

dwfreed/openrc,OpenRC/openrc,williamh/openrc,dwfreed/openrc,williamh/openrc,williamh/openrc,OpenRC/openrc,OpenRC/openrc,dwfreed/openrc