Do not filemtime() on "." directory. Use empty string instead

Fix #9928