Use the new move list functions in move list import/export functions, and change the type of replay_size from Uint16 to size_t.