Add APIs: file-architecture filesize stat lstat lstatlist

New APIs:
file-architecture
filesize
stat
lstat
lstatlist