Fixes issue #1 in which an integer overflow in the timing mechanism prevented recording on iOS >= 6.1.