A simple utility to create a pretty filename from a given string in Node.js