server: leak in sending file