make it clear which directory couldn't be created

If a previous build failed, it might have left the root directory
behind.  Giving the path in the error will help the user clean it up.
Merge pull request #395 from aspiers/better-mkdir-error

Make it clear which directory couldn't be created