Use a Tempfile for `Docker::Util.create_dir_tar`.

This will ensure that the method is thread/process safe.

@bfulton