Fix file magic path handling per #23.