aeidon.util.write: create directory if it doesn't exist.