Fixed group for security.metadata.xml file.

References #447.
Fixed mode for security.metadata.xml file/

References #449.