directory.py: protect against broken symlinks.
directory.py: protect against broken symlinks.

Bug manifests as IOError when the directory backend encounters a dangling
symlink named *.m3u or *.pls.

Thanks to Etienne Millon.

psung/zeya,psung/zeya