lib/param: add deprecated warning to be consistent with s3