Fixing initial implementation of void Resource::writeEntries();