Function checkFilesDir
check if needed site directories exists and writeable create them if needed TODO: Only needed when updated or new version installed. Put it somewhere else?
check if needed site directories exists and writeable create them if needed TODO: Only needed when updated or new version installed. Put it somewhere else?