Safely list directories outside the Ren'Py base directory.

Directories in the projects directory might contain filenames
that aren't representable in the system encoding. We now
ignore these directories, rather than throwing an exception.