Use IOUtils in SmartLoader, make loadStream more concise.