Fixes hdfs dir permissions