* filesys.c (scm_readdir): Use readdir_r when available, for thread safety.