Auto-create directories when making files in them