Fixed #18404 -- Encoded storage location with filesystem or default enco...

...ding

Thanks andkit for the initial patch


patch for ticket [#18404](https://code.djangoproject.com/ticket/18404)