Archive extraction, correct paths and permissions