Fix filesystem stat usage for Linux.
Merge branch 'master' into experimental