move dir functions from utils to new module rebar_dir