Convert credentials files to YAML