libmagic: restore trailing space