fix missing filename in exception

fixes #235