Add mksnpath which allows you to specify the output buffer