Corrected sed for OSX

The sed statement was unable to execute with the following error.

    sed: 1: "envs/test/group_vars/al ...": invalid command code e
Corrected mktemp(1) for OSX

The linux and osx version of mktemp do not work the same. OSX requires
a template string passed.

    emopop:~% mktemp -d
    usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
           mktemp [-d] [-q] [-u] -t prefix
    emopop:~% mktemp -d -t 'foo'
    /var/folders/7l/cxk0c90d16j0m6spkw74kpx40000gp/T/foo.qJ0FRoqM
Merge pull request #36 from blueboxgroup/osx-sed-fix

Corrected commands for OSX