Don't use %r for filenames, on windows, the backslashes go nuts.