enable python pillows to have a non-chunking mode (for tests)