FOLD: Correct FileOutputStream cleanup.