Fix some file and directory paths.