how can i get a file's permission mask?,stat.S_IMODE(os.lstat('file').st_mode)