realloc file info on write