Add missing include for `sys/stat.h`.
Merge pull request #400 from stephank/patch-1

Add missing include for `sys/stat.h`.