Script is a fork of django's dumpdata, but dumps data in chunks to avoid MemoryError