mcedit: file loading speed up.

Apply direct line counting during file reading.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>