Initial sync operations (local -> hdfs -> local)

@markhibberd @raronson @charleso 
Minor: redundant braces.