Catch IOException on Document at FileUtils