Moved most uses of FileUtils to the Java 7 Files class, in order to remove sporadic issues when resizing screenshots