Adding k and m as optional parameters for encoding in minio-encode