make-release: Explicitly close the opened config file, validate yaml

Adds a test to validate that make-release.yaml is valid according
to PyYAML.

Change-Id: I3356ab025928c21314bf4c6c2bdab9cb9801fc7b