Implements a decodeFilename function to use instead of decodeURI. fixes #109

Implements a decodeFilename function to use instead of decodeURI on decoding the path of the file being served from the url.
Should this still be commented?