fixed #12: Comparison editor should support writing files