Add the case of directory indices
Fixed odd behaviour in send-uncompressed.cgi, with new Perl.

Added a test script.