Adding SyncExtract

Minor style thing, but this would probably be much neater with just flat map, i.e. 
```
Hdfs.isDirectory(path).run(cluster.hdfsConfiguration).flatMap({
  case true => 
     ..
  case false =>
    ...
})
```