Added a couple utility methods: scap_dump_flush/scap_dump_get_offset