Improved error handling when python object isn't known

In response to @skorotkov:
https://github.com/telegraphic/hickle/issues/4
Who noticed the file doesn't close properly if NoMatchError is raised.