Reduce number of IMAP commands by mknod and mkdir