Update CLIArgumentsUtil.java

close stream after usage to prevent possible memory leak