fixing local file store ensuring path existence