fix(store): use portable sed strategy