I suppose arguably we should use an actual on-disk temporary file instead? Opinions?