specs no longer create extra files

The specs created extra files when run. This change fixes that by mocking file-utils instead of file, so the FileUtil no longer creates the new file.