made _validate_file work on Windows
made _validate_file work on Windows

Changed `'/'` to `os.path.sep`  which will work both with POSIX and Windows paths.

The issue where the problem was raised: bids-standard/pybids#425
INCF/pybids