Modified the GuidWriter class to only write one Guid at a time