Fix empty-file/deletion and seeked line creation