Fix file access on unix for package tests