tar: fixing extracting files that are dirs https://github.com/coreos/rocket/issues/250
tar: ensuring dir mode extraction
tar: fixing extracting files that are dirs #251

Merge pull request #251 from mcuadros:master