fix findbugs error

- remove use of guava Files
- some other findbugs errors