Fix corner cases in lit xunit for paths with dots