libdasc/editor: Use a bytes.Buffer in commitBuffer to ease error handling
libdasc/editor: Editors should reuse os.File instead of creating each time

This fixes the bug of stdin being closed randomly since the finalizer of
os.File closes the file.