Updating to JDK8 and adding hash checking when moving files