Python API: Error while add comment with files