Fixes issue in devserver introduced in v3.3

Small change to fix a devserver problem I ran into right after upgrading to Pelican 3.3.  Fixes an intermittent devserver problem with directory urls containing index.html (i.e. clean urls).  It tries to send the index.html file twice, resulting in a scrambled web page complete with HTTP headers in the output, and sometimes Broken Pipe errors.