path.join on write paths