Fix names of files
Make paths relative to toDir rather than baseDir