The `extra_paths` argument does not provide file existence checking on non-Windows platforms.

Should we make this OS agnostic?