append / to dir