switched filenames in latex and dvipng calls