raise error and log when no file can be written to STORAGE_FILESYSTEM_DIRECTORY