Convert java.io to java.nio (2)