ensures dir is always created before creating files in that dir.
added mini_archiver.c