Added code to recursively create the XAPK directory