Fix handling of disabled (shared) file storage