Moved to using tempfile instead of creating my files manually, changed chunk size to 10