Fix file access when running in a subdirectory #27