Fix build on Java 1.6.0_65

`java.nio.file.FileSystem` does not exists on Java 6. Besides, the two imports are not used.