Resolve relative paths and log creating of dirs