work around path.Join removing trailing slashes from routes

This should fix #38.