fix mapfile and fileseekiterator bug