fix some file name issue when using latexmk