Add the ability to upload directories (dir)