fixed LocalFileServer for FQDNs

Encountered the problem in #16, tried the suggested solution and it worked.