open: fix file names containing space character

They were not properly escaped, thus file names containing the space
character were split up, and thus not found.