Improve perfdiag performance by only generating one chunk of random file.