using .join() for dir paths

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>