Add test for '/' character in key.

Re-use existing test for key '1' by replacing it with '/'.
Escape keys before converting to filenames.

Use encodeURIComponent to escape the '/' character.
Merge pull request #1 from BallBearing/escape

Allow '/' character in keys.