Fixed some typos

Fixed typos in docs/exceptions.rst and docs/file.rst