Dump problem tx to temporary file when error happens. This allows developers to debug...