Merging encode and decode to single minio-demo binary