Make classpath file opening more robust against non-jar files.