Undefined method in gh-pages for Dir.mktmpdir

Quick'n dirty testcase of the git-branch finalizer, so I can commit fix laters.
Use the new Ruby 1.9 hash syntax.<br>Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.<br>Trailing whitespace detected.