Moved the StreamGobbler classes and their closeResource help method out of FormatConversionDialog.java as these are more generally useful