Editor insert non-breaking space instead of space

Property `file.content` contains non-breaking spaces instead of standard spaces. Correct call is `editor.exportFile()`.