Allow byte files to be saved on python 3.

Should fix https://github.com/waveaccounting/dj-inmemorystorage/pull/3