Add APIs: file_architecture, filesize, stat, lstat, lstatlist

Add APIs:
file_architecture
filesize
stat
lstat
lstatlist