Use alternative constructor for DeferredFileOutputStream so that the temp file is only created if needed.