make: directory should exist before writing files