Added ability to serve files in wiki repository

From #6168, this time against master because I don't want this to die. Tests pending.