Suppress end character on Files.java