Check if the supplied path is a valid file or directory.
Multi-monitor support using SDL 2.0 when available.