This should actually be ```contents.push(encodeURI(file.relative));```, which is already in another pull request. Take this part out and I will merge in the change with the keyword. 

Thanks for contributing!