OS X doesn't like writing more than 2^31