capture stderr messages from khmer/file.py errors