fix for filenames containing a slash

tio crashes with ENOENT when the base64-generated filename contains a slash, since a slash is a directory divisor on most operating systems. this pull request fixes this issue by replacing the slash with an underscore. a better solution would be to use a has function like sha1 to create the file name.