Adding real escape string to new writeEntry