Jean-Marc, here's a backport of the 1.4.x changes to enable the user to specify a file whose name contains spaces, but only if LaTeX can handle such a name.
I guess that we should also get LyX to use the cleandvi script on the wiki pages, no? Did you get any where with your enquiries on the tex newsgroups about fixing latex itself? -- Angus
invalid_filenames_13x.diff.gz
Description: GNU Zip compressed data