Fixed bug when serving files having names with special characters.