Add new RPC for get_partition_index_files() and add length field to S/MFile object.
Merge branch 'macan' into test, for new RPC interface and length field for S/MFile object.