Don't hardcode **latex** posix paths in nbconvert

@minrk just noticed after merging #3539 that it didn't include the fix for the latex paths too.