Implement resize() for internal_vector.
Refactor merge_sorter to use file_accessors directly and clean-up the code.