mkdir's with -p option so that branches with slashes in name will work