Add mock for stat.st_mode (trying to fix build for python 3.4)