osthasher: filename on errors