C code to create a home directory for a user