update status code for openfire
fix openfire upload_file issue