Added ability to serve files in wiki repository

From #6168.
Merge pull request #6650 from lloeki/wiki_images_attachments

Added ability to serve files in wiki repository