ENH: Implement dump(N) to return first N frames of data.
TST: Add tests for dump.