Ensure files in directories are served properly