Eliminate commons-io dependency