The "random" output was incorrect and was producing empty files.