This allows stream_read_complete() to return partial result instead of error if the file size is larger than the limit.