calibre-debug: support execution of a directory containing a __main__.py file