Escape forward slash in 'sed' execution for extended bin

This is what currently happens without this fix:

    $ bin/app foreground
    sed: 1: "s/.*///": bad flag in substitute command: '/'