fix all problems I could see with dirs/filenames containing spaces/accented chars...