Add APIs: fill-pattern, hexdump, more
Merge pull request #1739 from shi2wei3/file_dir_APIs

Add APIs: fill-pattern, hexdump, more