Ensure file handle is closed using with statement

This change ensures the file handle for the README file is properly closed. See PEP 343 for more details: http://legacy.python.org/dev/peps/pep-0343/.