Add APIs: fill, fill_dir, strings, head, head_n, tail, pread, ls
Merge pull request #1723 from shi2wei3/file_dir_APIs

Add APIs: fill, fill_dir, strings, head, head_n, tail, pread, ls