Add getTempDir() method to org.geogit.api.Platform