Fix pstore creation.