Fixed issues with using '.' to serve files which throws a ton of errors