Fix some hardcoded paths in the migration from maven to gradle. Also need to explcitly tell the JVM our files are UTF-8