Add file_dir APIs: chmod, chown, lchown, du, file
Optimize checking logic for API:file
Adjust coding formats
pep8 fix
Merge pull request #119 from shi2wei3/file_dir_APIs

Add file_dir APIs: chmod, chown, lchown, du, file