catch unicode errors during writing and report path, see #134