Vim gets stuck when converting a read-only file

because it tries to write it beforehand.
Fix #81