Added try/except for file stat info, for Windows compatibility, fixes #1