Don't set fileencoding and fileformat when modifiable is off.

Closes editorconfig/editorconfig#106