Just use the method in `FilePath`, which I hope will be updated in the future to use Java 7 when available (currently uses `libc.so`). Could also use `File.setReadable` (via reflection, or setting the Animal Sniffer signature to `java16`) but this is a bit more work.