Ignore reserved words on Windows

Fixes #2385 and #2386
Merge pull request #2391 from owncloud/ignore_windows_reserved_characters

Ignore reserved words on Windows