fix openfire upload_file issue