Add trailing space of directory metadata template