hidden file checking for Windows

might want some Windows-specific tests