Merge "Clean up writing YUV files for debug purpose."