Remove doubled slash between folder and path
Do not filemtime() on "." directory. Use empty string instead

Fix #9928
Ensure that filename is prefixed with a slash