fix restlet uploadfile requirement