Merge pull request #1670 from shi2wei3/file_dir_APIs

Add APIs: mkdir, cp-a, equal, download, checksum-device, checksums-out