Create tmp directory if not available galah/#197
Merge remote-tracking branch 'upstream/v0.2dev' into v0.2dev